package com.yuehuanghun.framework.threadpool;

public interface LifeCyle {
    
    void start();
    void stop();
    void pause();
        
    LifeCyleStatus getStatus();
    
    public enum LifeCyleStatus {
        NEW,         //创建 
        RUNNING,     //运行中
        STOPPED,     //停止
        PAUSED,      //暂停
        TERMINATED   //终止
        
    }
}
